<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo05元素的显示模式</title>
    <style>
        div {
            width:200px;
            height:100px;
            border:3px solid red;
            display:block;

        }

        span {
            width:200px;
            height:100px;
            border:3px solid red;
            display:block;
        }
        input,button {
            width:200px;
            height:100px;
            display:inline-block;
        }
        .d2 {
            display:none;
        }
        </style>
</head>
<body>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
<hr>
<span>123456789</span>
<span>12345678fdeoiwryofiewfiw9</span>
<span>123456789</span>
<hr>
<input type="text">
<input type="text">
<input type="text">
<button>按钮</button>
</body>
</html>